//
//  WalletViewController.swift
//  ShopIOS
//
//  Created by Apple on 2019/8/2.
//  Copyright © 2019 Apple. All rights reserved.
//

import UIKit

class WalletViewController: UIViewController {

    @IBOutlet weak var btn_share: UIButton!
    @IBOutlet weak var btn_recharge: UIButton!
    @IBOutlet weak var lb_coincount: UILabel!
    @IBOutlet weak var iv_eye: UIImageView!
    @IBOutlet weak var lb_money: UILabel!
    @IBOutlet weak var iv_avator: UIImageView!
    @IBOutlet weak var uv_back: UIView!
    @IBOutlet weak var uv_coin: UIView!
    @IBOutlet weak var uv_qrcode: UIView!
    @IBOutlet weak var uv_top: UIView!
    override func viewDidLoad() {
        super.viewDidLoad()
        uv_back.addOnClickListener(target: self, action: #selector(back))
        uv_coin.addOnClickListener(target: self, action: #selector(coin))
        uv_top.layer.cornerRadius=10
        btn_share.layer.cornerRadius=5
        btn_recharge.layer.cornerRadius=5
        // Do any additional setup after loading the view.
    }
    @objc func back(){
        self.navigationController?.popViewController(animated: true)
    }
    @objc func coin(){
        self.navigationController?.pushViewController(GiftOrderViewController(index: 0), animated: true)
    }
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
